<?php
	$i=1;
	$sql = $empire->query('select tjpos,title,titleurl,titlepic from www_92game_net_ttyl5_ecms_tuijian where tjid=1 and tjpos>=224 and tjpos<=231 order by tjpos');
	while($r=$empire->fetch($sql)){
		if($r['tjpos']==224){
			echo('<div class="ty-card ty-card-type10 clearfix" node-type="tytopwrap">');
			echo('<h3 class="ty-card-tt "><a target="_blank" pdata="index|lbx|'.$i.'" href="'.$r['titleurl'].'" class="ty-card-link-em " node-type="tytop">'.$r['title'].'</a></h3>');
			echo('<div class="ty-card-type10-i clearfix "><div class="ty-card-type10-l"><div class="ty-card-thumb-w">');
			echo('<a href="'.$r['titleurl'].'" target="_blank" class="ty-card-thumb" node-type="tytop" pdata="index|lbx|'.$i.'"><img src="'.$r['titlepic'].'" class="ty-card-thumb" width="150" height="100"></a></div></div>');
			echo('<div class="ty-card-type10-r ">');
		}elseif($r['tjpos']==228){
			echo('</div></div></div><div class="ty-card ty-card-type10 clearfix" node-type="tytopwrap">');
			echo('<h3 class="ty-card-tt "><a target="_blank" pdata="index|lbx|'.$i.'" href="'.$r['titleurl'].'" class="ty-card-link-em " node-type="tytop">'.$r['title'].'</a></h3>');
			echo('<div class="ty-card-type10-i clearfix "><div class="ty-card-type10-l"><div class="ty-card-thumb-w">');
			echo('<a href="'.$r['titleurl'].'" target="_blank" class="ty-card-thumb" node-type="tytop" pdata="index|lbx|'.$i.'"><img src="'.$r['titlepic'].'" class="ty-card-thumb" width="150" height="100"></a></div></div><div class="ty-card-type10-r ">');
		}else{
			echo('<p class="ty-card-type10-makeup"><a target="_blank" pdata="index|lbx|'.$i.'" href="'.$r['titleurl'].'" node-type="tytop">'.$r['title'].'</a></p>');
		}
		$i++;
	}
?>


<?php
	$i=1;
	$sql = $empire->query('select tjpos,title,titleurl,titlepic from www_92game_net_ttyl5_ecms_tuijian where tjid=1 and tjpos>=224 and tjpos<=231 order by tjpos');
	while($r=$empire->fetch($sql)){
		if($r['tjpos']==224){
      echo('<div class="ty-top-ent"><div class="ty-card">');
      echo('<h3 class="ty-card-title"><a pdata="index|lbx|'.$i.'" href="'.$r['titleurl'].'">'.$r['title'].'</a></h3>');
			echo('<div class="ty-card-content"><div class="ty-card-image"><div class="ty-card-hidden"><a<a href="'.$r['titleurl'].'" pdata="index|lbx|'.$i.'" class="ty-card-thumb"><img src="'.$r['titlepic'].'" alt=""></a></div></div><div class="ty-card-list">');
		}elseif($r['tjpos']==228){
      echo('<div class="ty-top-ent"><div class="ty-card">');
      echo('<h3 class="ty-card-title"><a pdata="index|lbx|'.$i.'" href="'.$r['titleurl'].'">'.$r['title'].'</a></h3>');
			echo('<div class="ty-card-content"><div class="ty-card-image"><div class="ty-card-hidden"><a<a href="'.$r['titleurl'].'" pdata="index|lbx|'.$i.'" class="ty-card-thumb"><img src="'.$r['titlepic'].'" alt=""></a></div></div><div class="ty-card-list">');
		}else{
			echo('<p><a target="_blank" pdata="index|lbx|'.$i.'" href="'.$r['titleurl'].'">'.$r['title'].'</a></p>');
		}
		$i++;
	}
?>

<div class="ty-top-ent">
  <div class="ty-card">
    <h3 class="ty-card-title">
      <a href="#">震惊13亿人 刘涛居然爆出了蒋欣的老底 看完傻眼</a>
    </h3>

    <div class="ty-card-content">
      <div class="ty-card-image">
        <div class="ty-card-hidden">
          <a href="#" class="ty-card-thumb">
            <img src="http://ylimg.ufile.ucloud.com.cn/20180425/2018042510522975397402.jpg" alt="">
          </a>
        </div>
      </div>
      <div class="ty-card-list">

        <p>
          <a href="#">新婚妻子成了植物人 小伙两次起诉离婚！法院最终判决…</a>
        </p>
        <p>
          <a href="#">新婚妻子成了植物人 小伙两次起诉离婚！法院最终判决…</a>
        </p>
        <p>
          <a href="#">新婚妻子成了植物人 小伙两次起诉离婚！法院最终判决…</a>
        </p>
        
      </div>
    </div>
  </div>
</div>









 <?php
  $i = 1;
  $sql=$empire->query("select * from www_92game_net_ttyl5_ecms_news where classid<>63 and classid<=69 and firsttitle>=8 and titlepic<>'' order by newstime desc limit 8,8");
  while($r=$empire->fetch($sql)){
    echo('<li class="article-item clearfix"><a href="'.$r['titleurl'].'" target="_blank" pdata="index|rmph|'.$i.'" class="news-link">');
    echo('<div class="module-pic news-pic"><img src="'.$r['titlepic'].'" lazy="loaded"></div>');
    echo('<div class="news-inner"><p class="module-title">'.$r['title'].'</p></div></a></li>');
    $i++;
  }
  ?>

<?php
  $i = 1;
  $sql=$empire->query("select * from www_92game_net_ttyl5_ecms_news where classid<>63 and classid<=69 and firsttitle>=8 and titlepic<>'' order by newstime desc limit 8,8");
  while($r=$empire->fetch($sql)){
    echo('<li><a class="koa" href="'.$r['titleurl'].'" target="_blank" pdata="index|rmph|'.$i.'"><div class="sidebar-hot-img sidebar-pic"><i class="index"></i>');
    echo('<img src="'.$r['titlepic'].'" alt="" srcset=""></div><div class="sidebar-hot-content">');
    echo('<p>'.$r['title'].'</p></div></a></li>');
    $i++;
  }
?>



 <li>
  <a class="koa" href="#">
    <div class="sidebar-hot-img sidebar-pic">
      <i class="index"></i>
      <img src="http://ylimg2.ufile.ucloud.com.cn/20180419/20180419061429147065_2.jpg" alt="" srcset="">
    </div>
    <div class="sidebar-hot-content">
      <p>忍了4年，刘诗诗被逼急！终于道出不育原因，错怪吴奇隆这么多年一二三四五六</p>
    </div>
  </a>
</li>